<template>
  <view class="popular-science">
    <rich-text :nodes="nodes"></rich-text>
  </view>
</template>

<script>
import { rich_text_config } from "@/api";
export default {
  data() {
    return {
      nodes: "",
    };
  },
  onShow() {
    rich_text_config("recycling_popular_science").then((res) => {
      this.nodes = res.data.content;
    });
  },
};
</script>

<style lang="less" scoped>
.popular-science {
  margin-top: 28rpx;
  height: calc(100vh - 28rpx);
  background: #fff;
}
</style>
